package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    public void saveWithDish(SetmealDto setmealDto);

    //删除套餐
    public void removeWithDish(List<Long> ids);

    //修改套餐售卖状态
    public void dishStatusByStatus(Integer status, Long[] ids);

    //根据菜品id查询对应套餐
    public SetmealDto getByIdWithDish(Long id);

    //修改套餐信息
    public void updateWithDish(SetmealDto setmealDto);
}
